Finely chop onion and green onion.
Cut bacon into bite-sized pieces.
Heat olive oil in a pan and sauté the onion, green onion, and bacon.
Add soft tofu to the sautéed ingredients and mix gently.
Season with salt and pepper.
Transfer the mixture to a baking dish.
Top with mozzarella cheese.
Bake in the oven at 200°C for 15 minutes.