Depends on the corals. Nothing stingy, so that rules out LPS. Softies are fine. Keep in mind, bright lighting that most corals require can cause the octopus to hide all the time. There's always an exception to the rule.
Just remember, octopuses are very curious, and they are sometimes...