Megray's are pretty intense so depending on distance he may bask off to the side of it to avoid such a narrow beam of intense UVB, or if he's like my adult female he'll stay away/run from it like its a disease that will kill him. When I put a megray UVB on my adult female she freaked out and ran from it all the way to the other side of her 75 gallon enclosure. This definitely wasn't a case of, "theres something moving over me its going to hurt me I should run", as i lift up heat lamps from her enclosure all the time and she just sits there.
All beardies have a preference though, some like intense levels of UVB, some like high levels, some prefer a moderate amount, and then theres others that like lower levels, which these levels of UVB should always be offered to add a variety of options.
Personally I see MVB's for beardies as a secondary UVB source.
Can it be used? Yes, but should it be the main UVB source? Not really as it doesn't offer options that a tube light offers, the pathway of the UVB is also pretty narrow and doesn't cover much ground compared to a tube light.
Depending on the distance of the MVB to the basking spot you may need another heat bulb as these suck at heating, you could adjust the height of it but get it to close to get good temps and the UVB will be too strong and cause problems.
But to answer your question simply, it should be safe as long as you mount it correctly and offer areas with low levels of UVB or some areas with no UVB at all.