Yes, talking to other people outside of the local server you joined is absolutely no problem, just like replying to their posts or favoriting or resharing a post of them.