Another game to look into is “Empyrion - Galactic Survival”. At first, they had a Minecraft-like storage system. In one of the later updates, they added a weight/volume system for storage. In it, each item has a volume and weight, and so does each storage space, including the player inventory. So, for example, if a large oxygen tank has a volume of 100 units*, and your player can hold up to 1850 units, you can't carry more than 18 large oxygen tanks even though you have free inventory slots. On the other hand, if an iron plate has 1 unit of volume, you can fill your inventory with iron plates and still have free volume left.
*I'm not sure what units they are using, but it doesn't matter anyway ? Note that the player inventory has an unrealistically large storage limit, for gameplay reasons.
This seems like just another limitation on inventory space, but it has an interesting consequence. There are items in the game (large machines) that are larger than the player inventory. So you can't pick them up by yourself. For this reason, the game has a storage networking system, where you can access storage containers remotely without using your inventory. So you would have to use a networked storage container to pick up and store the large machine.
The important thing to note is that many players did not like this feature, even though it is more realistic. They found it too limited, especially after getting used to playing without it. At the moment, the feature is optional, so players can choose if they want to play with it or without it. It is turned off by default, but chances are that will change once it is balanced properly.
What you need to ask yourself when thinking about something like this is why you are doing it. “Because it's more realistic” is usually not the right answer, if that realism only makes things tedious and boring. The question is not “should I do realism or fun” but “can I do realism that is fun”. If a more realistic but limited system can make the player make interesting choices or makes for interesting gameplay, then go for it. If it makes the game "just as boring/tedious as the real world", then it's not a good feature.