I used something very similar. Inside I went with heavy gauge extension cords, and attached 2, 4' long power strips. One in front, and one in the back. Like you, not exactly code, but it's not a disaster waiting to happen either.
The biggest "violation" you could say I have, is I have 30 amps going to outlets. That's a no no. Code says no more than 20. But if I ever need to pull more than 20 amps, I'll just do it at the post. Like when I hook up my welder. I would weld outside anyway.
I can kill power to the entire shed at the post, which is nice. I don't have to go to the panel and pull any breakers.
https://www.amazon.com/gp/product/B07TLNQ328/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1