You could do it but it certainly would not be ideal. In my opinion, there are better oral only cycles one could choose if one really wanted to take that route.
However, if where one lives, AAS are illegal then one needs perform a risk/reward analysis. If one chooses to use an illegal substance, then one should try to maximize the return if the risk is equivalent(both oral and inject illegal). With AAS, maximizing returns will involve usage of an IM substance, namely testosterone.