Yes it is compliant as long as the main breaker operates side to side and not up and down. However this site is for professionals so I am going to close this thread.
I am closing this thread, in accordance with the Forum Rules.
* This NEC Forum is for those in the electrical and related industries. Questions of a "How-To" nature by persons not involved in the electrical industry will be removed without notice.