Possibly - but you'd need to test it and find out. Some lamps run insanely hot and direct contact like this would cause smoking if not an outright fire.
A mama heating pad is the cheapest set up if you already have the supplies on hand, and I've never had issue "cleaning" afterwards as the pad...