Yes you can but try to throw a Floresent light in there with it.
A buddy whos house i use to grow at used a lavalamp with the normal bulb. I noticed that the bulb projected alot of heat. So we threw that in the closet with a 6" flor tube... the tube on 24 hours and the heat lamp on for 14 off for 10.

The concept was alaskan sun light time. Just a theory that we used. The plant grew about 2-3 inches a day...at the least.

Yes it will work for quite some time....
***BUT***
Remember that quality will not be the best, DUH. But your not gunna care if your using a lavalamp right?