I know it does, that's how I did mine. But u still have to create a gold card and s-off before rooting. U can't root and install a custom Rom without getting s-off first as I understand it.
I haven't tried the unlock from htcdev site. I guess u have to install a ruu if u go that route?
I'm not sure if Marvelc roots via the unlocked bootloader route. But unlocking the bootloader is much more complicated than creating a Goldcard, and it requires filling out a disclaimer at htcdev.com waiving your warranty rights.

So if I had Marvelc, I'd definitely stick with creating a Goldcard!!!
So the process the OP needs to follow (expanding on djthebogan's) is:
1. S-OFF (Marvelc)
or unlock bootloader through
htcdev.com (Marvel).
2. Root. I suggest using the HTC Supertool v3 to make it really easy. See part 3 of
my rooting guide for A510e for instructions. The Supertool will work with any WFS, so don't worry if you have something beside an A510e.
3. Install Clockworkmod Recovery for WFS (5.0.2.6 is latest version). Use
eoghan2t7's installer over at XDA to make the install painless.
4.
Backup the stock HTC ROM in cwm5 recovery!! If for whatever reason you don't like the custom ROM or it doesn't work right, and you need to go back to HTC's, flashing back to a stock ROM can cause massive headaches. Restoring from a backup is MUCH easier.
5. Install custom ROMs. My current fav is CM7, but to each his own.
Also install the
Superuser app by ChainsDD at Android Market to grant and manage Superuser rights for your phone unless you like being constantly bothered by permission requests from your apps that require root.
I'd love to see if anyone has anything to add.