Yes my suggestion is that negations can work just fine, depending on the model and task, and instead of avoiding negations you can try other promoting strategies like emphasizing what you want at the beginning and at the end of the prompt.
If you think negations never work tell Gemini 2.5 to "write 10 sentences that do not include the word the" and see what happens.
Literally both of those are negations.