If i buy cities and knights expansion, can I make a game with friends who don't even have the base game purchased?
No. Every player must own the game and expansion. You can invite up to two friends to a base game if they don't own it, but it will be the first island scenario and the same map every time. For other scenarios and random maps everyone must own the game and expansion you want to play.