I don't think this would be a factor. Some PCI-E 4.0 SSDs already come with metal heatsinks out of the box. If future SSDs needs addtitional cooling, this will be communicated to the buyer.
I think that the bigger question is whether 25W can be phisically supplied to the drives by contemporary motherboards. What is the power limit for the m.2 ports?