It`s possible to make custom Part number property and assign value to it by expression.It`s very good feature.
But I can`t make the same for SW-Part Number property which is used in BOM.
It is not good to use two part numbers in general.
SolidworksGeneral