I noticed we don't get xp when we are attacked and do our counter strike. Why is that? Over the night, I was viciously attacked by squall. I attacked back, I struck, no xp. Just wondering.... it'd be nice.
General premise of awarding XP is for actual Actions instigated & completed by a player. Some arguable exceptions (e.g. Production queues still award XP when finishing subsequent queueItems even though you only 'started production' once).
It would, I suppose, partially offset the danger of sitting your ass out in the open and likely dying as a result of your enemies scooping you up after they incapacitate you, but it is too easily abusable (whereas Production, not so much).
Hire people armed with knives or SE-14 to take pot shots at you, in addition to parties full of NPCs using the same weapons. Equip a knife or a SE-14 yourself, optionally with NPCs of you own. Have the people attack you. Rinse, repeat.
You'll be making thousands a day with barely any effort at all.