Rinse the black-eyed peas and pick out any debris. Add them to a large pot with the diced onion, bay leaves, and 6 to 8 cups of water. Bring to a boil, reduce the heat to medium, cover, and cook for 45 minutes to 1 hour, until tender but still holding their shape.
Drain the beans, remove the bay leaves, and transfer the beans to a bowl. Wipe out the pot.
Heat the palm oil in the same pot over medium heat. Add the chopped onion and cook for 2 to 3 minutes, until translucent.
Add the ground beef, break it up with a wooden spoon, and cook for 6 to 8 minutes, until browned. Spoon off excess fat if you like. Stir in the garlic and cook for 1 minute.
Stir in the paprika, cayenne, thyme, bouillon powder, and salt. Add the diced tomatoes, whole habaneros, and ½ cup of water. Cook for 8 to 10 minutes, until the tomatoes break down.
Stir in the diced bell peppers and simmer for 3 to 5 minutes.
Return the beans to the pot. Add up to ½ cup more water for a looser sauce. Cover and simmer on low for 10 minutes, stirring occasionally.
Taste and adjust the seasoning. Remove the habaneros if you don't want more heat, and serve warm.