Nope, table top is just one form that RP can take. There's also online RP which can either be free form (which is the majority of online RP), or utilize some form of agreed upon dice system that makes it a little similar to table top, then there's also LARPing (which I've been dabbling into recently).