Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it safe to have the washer and an electric dryer in a basement room with an oil tank, oil burner for water baseboards and water heater?
Unless you have a written local amendment disallowing it there is no reason this would be unsafe or prohibited. I have seen and worked on many, many basements that fit this exact description.
My only concern would be keeping the area clear of lint from the dryer.
Required, but never shown