Nothing to prevent it except money. The issue with PNT satellites around Mars is how many satellites would have to be sent (smaller planet and less accuracy needed, so maybe we could get away with 12 instead of 24), plus the ground command and control stations plus monitoring stations. The ground part is probably the most critical piece of why GPS is so accurate, and I'm not sure we could do that from Earth. Definitely couldn't do the monitoring from Earth.
We'd have to be able to build an accurate ephemeris table for the Mars satellites, have accurate clock updates, monitor the signals being transmitted to do updates, etc. While we could do the commanding and controlling from Earth, I don't know if we could do the things from Earth that make GPS accurate. So not only would we have to send 12 satellites to Mars, we'd have to build monitoring stations on Mars to do the ground portion. Technically doable, just not financially feasible when we have star trackers and other navigation systems that work well enough for now.
Mars was mentioned because it was written by a journalist, not a scientist. If you read all the quotes from NASA and the Italian agency, they only mention the Moon. Mars is too far away for any use of Earth/Moon/Lagrange based PNT satellites.
For lunar applications, power isn't really the limiting factor. It is the one factor we weren't sure about before this mission, so we figured that out. Another factor is geometry, with the long distances to the moon but small distances between satellites. A final factor is antenna directions and gain patterns. GPS antennas are facing the Earth and directional to the Earth (though there is a VERY tiny omnidirectional on the rear). The main antennas shove most of their power to the Earth's surface and have a small amount that leaks to the sides away from Earth. This mission used those side lobes, but because of the distances involved you don't see very many side lobes out at the moon. Even at GEO, space based receivers are only seeing a small number of satellites at a time because the Earth blocks most of the signal.
If NASA wanted a real PNT solution on the moon, they would need to have dedicated satellites with moon facing antennas. Even better would be moon surface repeaters with large antennas.