For your pipe there is probably no requirement not to do so; however, if the pipe system was designed to B31.3, Section IX should be used.
If there is a jurisdictional requirement to use B31.3, ASME IX must be used. This would not preclude the Owner/Purchaser to additionally require qualification to API 1104. So I must ask, what are the design requirements?