Yes, you can still get a Dubai visa if your passport expires soon and remains valid for your intended stay in Dubai. However, it's recommended that you renew your passport beforehand.