I believe in some cases men who are already married can become Roman Catholic priests. I think the idea of priests never getting married went from 'a good idea so they could devote themselves to the service of Christ 24/7' to an official edict somewhere along the way. Peter had a mother-in-law, so it's safe to assume he was married.
Priests in my denomination can be married, as is the case in most denominations/branches of Christianity.
But he knew what he was getting into when he got ordained Roman. Seems like it would've been better to go to the Anglican church or maybe an offshoot of the Roman church that allows for married priests, than to have a secret marriage.
I don't look for the Roman church to change the edict anytime soon, though. The bishops and cardinals probably believe (and rightly so) that if you change one thing related to morality, you'll get more and more pressure to change other things as well.