I am p sure that not too long ago the EU Commission put out a statement regarding Metas "Consent or Pay" and it not being allow and "privacy isn't something you should need to pay for". So I don't think its legal, but I also didn't look too much into it other than some headlines.