Yes, provided the radiator has modern built-in safety features and is positioned safely.
Modern oil-filled radiators are sealed, have no exposed glowing elements, and include automatic overheat protection, tip-over switches, and thermostatic shut-offs.
To use one safely overnight, follow UK fire safety guidance – plug it directly into a wall socket (never an extension lead), keep it at least one metre away from bedding, curtains, and furniture, and never cover it or use it to dry clothes.
To find out more, take a look at our article, choose stylish and efficient space heating with oil filled radiators.