Yes, it is if you enroll in a course and attend all the classes with dedication. Here are a few things you must do to complete your classes successfully.
Search for an experienced trainer/tutor
Schedule your classes every day and attend them without missing any
Schedule your classes at the same time daily if possible
Never delay your assignments or miss any test.
These tips will be beneficial in online Hindi learning classes. Happy learning!