That's how I do a distillation, yes. If you're home, and not distilling something flammable, or around something flammable, you could use a flame, but will need a fiberglass and wire gauze to protect the flask. Or a shallow pan filled with sand. All of which waste heat, its just that now, you'll have it in abundance.