usb0 as a simple serial program interface

I’m using BBB can I change usb0 (client mode usb ) to show my product CLI interface rather then linux console?

there are basically 2 ways.
1. with password.
create an useraccount and use .profile to start you program

2. redirect, run via inittab (systemd) e.g top >/dev/tty10

Note: do not forget to disable all interaction with your program
      otherwise a malevolent user can easily access your box.