Creating an empty application and then adding code for both the functionalities is an option; also, you can take an existing example as reference and then add the code for functionalities you want like adding HFP. We have demo examples available for audio- GitHub - cypresssemiconductorco/mtb-examples-CYW920706WCDEVAL-btsdk-audio: Audio Examples
You can configure SPI and other pins using Device configurator. For reference, you can find SPI example in WICED SDK, try porting it on MTB platform. SPI library is available in wiced btsdk.