Honestly, there isn't a clear answer here. Installing a friend's copy of the Rise of the Witch King expansion for The Lord of the Rings: The Battle for Middle-earth II and then playing without the disc is a bit of a gray area.
Legally and technically, the expansion normally needs to be installed and validated on your own machine, so borrowing a copy isn't a reliable route. Your safest bet is to pick up your own copy.