Hey Vivek, sorry for the late response.
Yes it is absolutely* possible. That’s what flutter was build for One code — all screens/devices.
You can see the * and that is because flutter is still new, its growing so it gives me a lot of confidence when I have to build Android and ios app. But if I have to use all the existing code of mobile, I will have to check if all the flutter packages that I have been using in mobile project is supported for Flutter web or not.
Google’s own Firebase realtime database isn’t released yet for Flutter for web 😲
Hope this answers your question.