This is allowed, as long as the two accounts are being played by two actual people. You can even have one high level boosting a lower level as long as it's a real person. Although I would avoid going on follow for any period of time as it can look like you are multi-boxing.
Refer to the TOU for more detailed information.
https://forum.nostalrius.org/viewtopic.php?f=2&t=8