Technically, but have you ever worked at a shell on an Android device? It feels alien, and all the interesting stuff is wrapped up in the JVM so the fact that it's wrapped in Linux doesn't gain you much.
So it makes sense to use Linux if that's what you prioritize.