It was definitely a thing, much harder to get insurance to pay for it for guys. Maybe it changed in the US, but it looks like Canada for example still discriminates based on gender: https://immunizebc.ca/hpv
In the US, years ago, it was possible to get if you were a guy between 18-25 but you really had to demand it and confirm/claim a low number of sexual partners. Not sure if that's still the case, hopefully not.