Give the onion, scallions, scotch bonnet pepper, and garlic a rough chop.
Add the juice of one lime, garlic, ginger, scotch bonnet pepper (a habanero pepper will work as well), bay leaf, onion, dark soy sauce, light soy sauce, thyme, olive oil, ground allspice, and black pepper to a blender and puree until smooth or slightly chunky.
Wash the turkey legs with the juice of the remaining lime and cool water. Drain and pat dry.
Place the turkey legs in a bowl or resealable bag, pour the jerk marinade over them, and mix well to coat evenly. Refrigerate overnight for best flavor.
Preheat the oven to 375°F (190°C). Line a baking dish with foil and place the marinated turkey legs inside.
Tuck in the sliced onion, scallions, and thyme, then drizzle with olive oil. Lightly cover with foil and place in the oven.
After 45 minutes, remove the foil and baste the turkey legs with the pan juices. Repeat basting a few times.
Continue cooking uncovered for another 20 to 25 minutes until fully cooked and nicely colored.
Serve hot with rice and peas or your favorite Caribbean sides.