Compounded semaglutide is legal, but it's not regulated in the same way as medications like Ozempic and Wegovy.