Sure, why not.
You could use twenty 12k resistors. They will EACH dissipate 8.6W so the total amount of heat from them is 171W! They need to be rated at 10W each. Smd resistors can't dissipate 10W each.
A 6V/500mA transformer will be safe, hardly waste any power and would cost less.