This is allowed as long as you are not colluding with your friends to gain an unfair advantage over other seated players. If determined you are colluding, you will be prevented from sitting at the same table in the future.