I would say that I don't see that these groups overlap especially, so no, I don't think it's similar.
There is a sort of personality type that takes anything they hear from certain authorities almost without question, and is also anxious. IME these people can go both ways though. They are anxious vaccines will kill them and see some sort of alternative health practitioners as the authorities. Or, they see regular medical health professionals as the authorities and are anxious that if they don't follow recommendations they will probably kill their kids and never live with the guilt.
Most normal people get their vaccinations but are also quite aware that modern medicine makes errors sometimes and that some things are more evidence based than others, or that sometimes there are also non-medical considerations too.
I'm finding that the super-pro mask people are like the first group. There are also people who are pro-mask but take a more moderate position, are willing to consider that it is a bit of a judgement call with limited evidence and other factors to consider. Some people take much the same view but are moderate anti-mask, they may think for example it should only be mandated in certain settings.
I haven't seen many people who are anti-mask in the sense they don't think anyone should wear them or they are seriously hazardous, like anti-vaxers. Where I have seen those kinds of ideas my sense is that rather than thinking that way, they are reacting to the people who are saying that everyone must wear them outside of the home and it should be regulated etc.