They can do that already; by law, the Ways and Means committee may see any American’s tax return. Trump just refused to turn them over.
You’re correct, Trump fought it because I don’t think it’s ever been done before and now that the Supreme Court has said it’s okay, if Biden’s records were subpoenaed, he would not have much a legal argument to fight it.