In unity, is it possible to create a simple room escape game. One room leads to another, pick up inventory items and continue etc. Something along the lines of the old adventure maker format? Thanks.
Yes
To elaborate on Homicides answer a little bit (although it really is the correct and full answer):
Unity is a game engine like basically any other game engine. Some things are easier to do in one engine, other things might be easier in another engine, but basically there is nothing stopping you from creating virtually anything you can imagine in any game engine (as long as it supports some kind of scripting). It doesn’t even have to be games only.
What Unity (and any other engine, for that matter) really does for you is provide a framework that gives you the most basic things needed for any kind of game - a system to manage input, a system to display some ui, a system to display graphics (Unity supports 3D graphics with by definition also implies that you can use 2D graphics, other engines might only support 2D), and so on and so forth… Also you are provided with systems that might make your life easier in certain aspects of development, it provides various interfaces for import (for example Unity can directly import *.blender files, other engines might not be able to do this and instead need some kind of other model file) and gives you the ability to implement your own custom code - and this is why you can use Unity for basically anything.
In theory, given you are a proficient enough programmer, you can even rewrite or extend the engine as much as you’d like.
If your question was if Unity was the best engine to do this kind of game:
Although I do not know of any specific engines, it most certainly isn’t. There are engines out there that are specifically designed for these types of games. But yes, you can do it.