Insert field for block attribute

Is there a way to insert a field into an mtext or a multileader that displays the value of a block attribute?