Yes,, but I believe in order for it to work the phone must also register as an extension on domain 2, you then just specify the line number for the BLF.
Here is a screenshot of my setup for a Yealink phone, I have line 1 as ext 201 in domain 1 and line 4 as ext 206 in domain 2:
I have many...