Yes, you can. Fry the onions, and tomatoes till the onion-tomato masala is ready. Then add the drained and rinsed black eyed peas. Cook for a few minutes to let the flavour infuse. Garnish and serve hot.