No. Unfortunately, the IP Address Details View does not support these kinds of macros in the custom query resource.
select nip.IPAddress as NodeIP,ipn.IPAddress as IpamIP,nip.NodeID,n.Caption from NodeIPAddresses nip
inner join IPAM_Node ipn on ipn.IPAddress = nip.IPAddress
inner join Nodes n on n.NodeID = nip.NodeID
That might be what your looking for