just be careful when you do it. Its possible and people do do it, but as with any transplant/switching of medium theres gonna be stress on the plant involved, itll get stressed from 3 things in this case.
Medium transfer
Indoors to outdoors
and hydro to soil
So that's 3 stress factors you giving it there, and the plant will react differently depending on the strain and certain environmental conditions. Don't be surprised when the plant stunts and/or looks bad for a few days/weeks.
the best thing u can do is make sure to put it in shade when moving from indoors to outdoors rather than direct sunlight.