Defintely can be done at home but pencil in a full day for it , its a bit of a pig on the e39 as the fan and fan shroud are in the way much easier on the e46

Heres a guide to show whats involved its not majorly difficult just time consuming

http://www.beisansystems.com/procedures/vanos_procedure.htm