On iOS, this possibility is disabled, as iOS designers were worried that web developers would overuse it in a way that's disctracting or confusing to user. I guess on Android it depends on the build, but I won't be surprised if the majority would follow a similar principle.
So in short, no, there's no way to programatically focus on a text field on mobile.