You're not putting AK vs a specific hand your opponent is shoving, but a range they could be shoving. You're only slightly behind at 43% equity if your opponent is only jamming 22-AA and nothing else.
If we increase their range to 22-AA, 78s-AKs, AJo+, AJs+, KJs+, KJo+, J10o.
You're at 56% equity preflop for AKo, 58% for AKs.
Even if we tighten your opponents range a bit to: 22-AA, A10s+, AQo+, KQo, KQs, QJs, 10Js, you still have 51% equity preflop.
So, yes. It is a profitable call.