Your questions seem a bit confused about roleplay in general.
Here’s a pretty good guide for general advice.
Really simple. You got 2 states. Out of character (OOC) and In Character (IC).
Let’s say you do some roleplay and talk to someone in character. Now you lose the motivation to roleplay because you wanna do some battlegrounds (just an example, can be raid or whatever). So now you make something up where your character goes because any content that the game offers where your character is on “in character”, then it does not matter for roleplay.
So put this into example:
Orc (you): “Hey there!”
Random goblin: “Hello, can I help you?”
Orc (you): “No, just looking around” Loses motivation to roleplay
Orc (you): “I think I will leave. I am pretty tired, so going to bed”
You then pretend your character goes to bed (or whatever you make up), put yourself to OOC (there is a switch button on the trp) and then you can do content.
Also you can just say your character was present at X without ever going there or doing the content. My goblin for example was in Naz’jatar without ever actually stepping a foot there gameplay wise. But don’t do things like that you killed Arthas. You can say that you were in the army to defeat him though.
You can do roleplay with randoms too, which is my own prefered way. Guilds usually want activity in terms of you participating in events and social gatherings.
Like any of us. OOC for content your character doesn’t do, IC for any roleplay.
Most guilds have set times for events. If they are big, just regular social gatherings are possible too. Needs numbers though.
I haven’t seen one guild yet that allows that. Most want activity from their members. Especially smaller guilds.