Is it allowed to marry a boy from kaundanya gotra to a girl in kausika gotra?

As long as you are from different gotra marrying is possible. But religiously if you are not from the same caste you can not marry.