If you’re talking about the decision overturning Roe, it has literally nothing to do with whether a federal abortion law would be constitutional.
The constitution does not confer the right to clean water and yet, it’s not unconstitutional for the federal government to make laws regarding clean water standards.