Absolutely, but it must be done as soon as possible. Komala require many hours of sleep a day—hence why they’re very rarely seen awake. Some pokémarts in the Alola region will stock “komala pillows,” which are specially crafted items meant to be roughly the size, weight, hardness, and texture of the average komala log. These can be used until you can find a suitable replacement of real wood. Alternatively, simply go out and cut a piece of wood roughly the size and shape of her original stump if you can recall it. Bringing your komala out during this process will guarantee that you’ll cut a piece she finds suitable.
Good luck, anonymous.