Can you run gateway on the same Pi as a Pihole?

I’d really love to have one Raspberry pi that is used for my WebThings and a PiHole (which is what I had it set up as before). Has anyone used docker or something similar to “segment” the Pi so that it can perform multiple functions with the gateway active? Thoughts?

Yes, that should work fine.