I think that's OK, as long as you accept the consequence of being outcast from society - ie not allowed to interact or go into a public place where you are a threat. "Not making other people sick during a pandemic" is a pretty reasonable prerequisite for social interaction.