From what we've seen of attempts to lock down eg ChatGPT, it seems very unlikely that it's possible to design image generators that 1) run on local hardware and 2) cannot be easily modified to evade rest