You‘re probably giving the guy too much credit. I think they use a version of FLUX. Replacing stuff is one of it‘s core features.
Although he might‘ve ordered to add NSFW related concepts because that‘s definitely what he uses it for almost exclusively.
Cheaper than I thought considering Lego is a luxury brand for people with fuck you money and too much nostalgia.