I am using the MERGE statement within a database project to populate reference data from a static value set, such as the following below:
MERGE INTO dbo.
Merge supports CTEs so perhaps you can use this as your source, combining your static data and performing any joins within the cte.