Great question — answering as the UphillTech team:
I have seen these before. I do not know if they are code approved, but it looks like a good start. This pic is from their website . It looks like they are not graduated lower to account for the fall of the pipe unless they oversized the hole to allow for some slope.
Full answer by Jack: https://diy.stackexchange.com/a/172031 (CC BY-SA 4.0).
Need it done for your business? UphillTech.