No, you should not run a pool heater overnight unless you have to. To save money on your energy bill, and be the most efficient, you want to use your heating systems as little as possible ideally.
The nighttime is usually the perfect opportunity to give your system a rest.