You can, I just wouldn't recommend it. Glass is a poor conductor of heat (it heats slowly, but retains the heat for much longer) so you might not get the desired texture. But if it's all you have, it will definitely get the job done!