I think the IRS already did some version of this and open sourced it https://github.com/IRS-Public/fact-graph
There's an article about it here https://biggo.com/news/202510160717_IRS-Fact-Graph-Public-Re...
These were artifacts from the IRS Direct File program (RIP)
Maybe your project could (re)productionize this dataset.