obviously its impossible in the lore, but the game engine allows it because theres no race class restrictions.
Admittedly tho its something they ought to patch out.

thing is tho, you always could make deity choices that make no sense in DnD games.
in nwn 2 you could worship kossuth and eilistrae and lolth just the same