yes it works. Maybe you only will need to define some pins in configuration.h (marlin) but you can do it only if you unlocked your mainboard bootloader (which is one of the first things someone does on the melzi board) so maybe consider this before proceeding into buying