Yes. They are usually available in online shops. Some models can even stand up to 2 kV and 3 kV. However, clearance and creepage requirements are often larger. Sometimes it would require potting to actually pass the requirements of that standard.
And, putting multiple resistors and capacitors in series is often a better alternative. But when doing that, do also pay attention to the required insulation distances.
Read More: SMT Assembly