hello there
Unfortunately, this is not possible in Liquid as metafields and metaobjects are two separate entities. Metafields are simply key-value pairs that can be associated with various Shopify resources, while metaobjects are more complex data structures that allow you to define custom data types and store more structured data.
To retrieve the value of a metaobject, you would need to use the shop.metaobjects object followed by the handle of the metaobject, then the name of the property you want to retrieve. For example:
{% assign feature_keys = product.metafield.custom.features | split: ',' %}
{% for feature_key in feature_keys %}
{% assign feature = shop.metaobjects['main_features'][feature_key] %}
{% if feature %}
{{ feature.text }}
{% endif %}
{% endfor %}
This code loops over each feature key in the features metafield, retrieves the corresponding metaobject using the shop.metaobjects object, and then outputs the text attribute of that metaobject if it exists.