Take a look at the protocol for the protein sparring modified fast which is a form of short to medium term fast that is designed to retain muscle mass by eating tons of protein with a large caloric deficit (1k+ calories a day). You can easily convert it to a more sustainable Ozempic diet by adding more fat/carbs to make the lean protein more palatable.
Fair warning though, this isn't an easy diet if you're not good at cooking and can't easily develop your own recipes. Lots of lean chicken breast so techniques like sous vide really help.