Yes, you can use an approach to hidden city ticketing to remain in that city rather than the ticketed terminus. Airlines, however, frequently forbid this since it can be against their policies and result in fines. Before anything else, always verify airline rules.