Yes, you can do it, if you can program to loop OD matrix.
I dont know what is your background. if you are studying urban planning or transport planning or even civil engineering, It is Easier to use excel for your simple problem provided you understand what is route assignment. of course and many other open software which can do it better and more efficient than ArcGIS NA for your kind of problems.
regards,