Yes it is possible. For the example below I had an assembly and created an Equation inside that assembly called "Length". Then in the Assembly I located the feature in the part that I wanted to edit and d-clicked on it to show the dimensions. I then, just as you would in a part, typed in the global variable name and applied it. This will obviously create a reference to the Assy but this is clearly what you are after.
Hope this helps