Probably depends on jurisdiction. E.g. in the UK there is no formal limit (and car headlights are more powerful than bikes') but light must not dazzle or cause glare to other road users, hence why headlights on full beam must only be used in certain circumstances, and beams in general must have specific orientation.
So if you are blinded by an incoming cyclist this is not legal... of course enforcement is another matter.