Configure whonix to only connect to onion sites

is there a way of hardening/configuring a whonix gateway such that it will only allow connections to go through that connect to onion sites but not to normal websites through tor?

I think it’s worth looking at which port in the Workstation the Tor is working on and block all other ports.
You’d better ask this question on