Can .htaccess use to make it so only certain ip's can have access to Iris

Could you not use htaccess with an Apache reverse proxy? I’ve genuinely no idea but sounds like a common use case.