There's a rich history of panentheism in both. Ibn Arabi, probably the most famous Sufi scholar was known for defending it ("[God] sleeps in the rock, dreams in the plant, stirs in the animal, and awakens in man"), Meister Eckhart and the Rhineland mystics held similar views etc. Of course that often got them into hot waters with Orthodoxy but it certainly existed and continues to exist.
A lot of these traditions are much more flexible than whatever is the dogma or institutional version of the time suggests. David Bentley Hart's writing on Vedantic traditions and Christianity is worth reading