Custom Label to set recordsLimit in model on page load

Can we set “Max # of records (Limit)” property of any model
through salesforce custom label.

Used below two approaches for its solution,
1. Used custom label directly
{{{$Label.CustomLabel }}}

2. Created one UIModel and set salesforce custom label value to its UIOnly field and then put it in the "Max # of records (Limit)" value.
{{{$Model.MaxRecordsModel.data.0.MaxRecordValue}}}