On that, the 16/17 LOTG have removed the old tripartite matrix for fouls. (player, on field, in play)
This previously prevented a sub from committing DOGSO.
Thus, and this is my own interpretation of the laws, a sub could commit a DOGSO foul.
That being said, the LOTG only mention players when...