You can have fun as long as you don't hamper the others' fun and as long as the game allows that.
If you are killing someone on your team intentionally, it destroys their fun. If you are killing someone on the opposition team, it again destroys their fun but the game allows that and is actually built around this concept.