Medical status is private information.
And in case you did get vaccinated or cannot for medical reasons, but just truly believe this info is a private thing, not sure why you would suggest that the question is not allowed to be asked. People can decide for themselves to answer or not, right?
[1] https://en.wikipedia.org/wiki/COVID-19_vaccine_clinical_rese... and https://en.wikipedia.org/wiki/Long_COVID
[2] https://en.wikipedia.org/wiki/Herd_immunity#/media/File:Herd... and https://en.wikipedia.org/wiki/Flattening_the_curve