I like to build things, and I've been drafting up plans for a headboard for quite a while now. One of the things I want my headboard to have is a number of outlets, since laying on my bed is where I often realize I need to plug a device (charger for my laptop, etc) in. I'm going to be moving around a fair amount (military), so I need this to be compliant with the most up-to-date codes.
I've worked with mains voltage before - and I'm very comfortable with electricity in general; I'm a computer engineer (so I normally work with much lower voltages). I am not an electrician, and trying to read through the 2020 edition of the fire code to see what's even relevant to my situation is leaving me with a bit of a headache - not even sure where to look.
Here's the tentative plan: a heavy-duty appliance cord (3-prong) will be plugged into the wall in the bedroom, as the main source of power. The other end will be wired to provide the power for an outlet on the headboard. The connection from that outlet will be daisy-chained to a couple more outlets with some fairly robust romex, all hidden/built into the headboard. Essentially it's a very physically large power strip.
I also plan on having some other electronics in the headboard - LED lights and such - but I'm not sure how the code relates to this. Will keeping any separate-voltage wiring in a conduit be sufficient?
What things should I be aware of when building this to keep it up with code? Do I need grounded boxes around the outlets, or will the blue plastic ones be sufficient?