Yep, they're the same, but make sure you get the valve covers from either an X5 or a BMW Range Rover, because those have an extra hole in the driver side valve cover for a breather hose. The E38 and E39 M62tu's don't have that hole in the valve cover.
Powder coating is the only durable method to paint these valve covers long term, since the high temperatures and magnesium don't make for a long-lasting paint job otherwise. In order to achieve a long-lasting finish, these valve covers should be sandblasted to remove the old finish, degreased, and then baked in an oven to get all the embedded oil out. I have a local powder coating shop that did my valve covers for $80 total. My shop takes less than a week but all shops are different, I suppose.
This is what my X5's valve covers look like:
Not too shabby for 213k mile valve covers, eh?