Is it possible to make onion Bhajis without a deep fryer?
Yes, you can cook them in about 1" of oil in a steep sided frying pan or wok. Just turn them reasonably frequently to ensure even cooking.

If you're dubious about using a lot of hot oil, you can use less by making your bhajis a flat, patty shape and shallow frying.