Is it permissible to lie in jest( when the other person knows we are lying and it is obvious that it’s a joke) ? for e.g someone asks "where does the sun rise from?" and we say "west" as sarcasm

Yes as long as it’s known that it is a joke or sarcastic