Problem: You have two or more SKSpriteNodes and want them combined into a single new SKSpriteNode.
Why?: It is used to reduce the amount of Nodes to increase performance.
If you're using massive amounts of static sprites, you can benefit from this method.
Solution: Instance an SKView object and use it to render a container SKSpriteNode with multiple child SKSpriteNodes.
let mergedTexture = SKView().texture(from: containerNode)
let newNode = SKSpriteNode(texture: mergedTexture)
Whereby containerNode is the SKNode container with multiple SKSpriteNode children. This is what user Whirlwind suggested, but he used an existing SKView instance, that may not be available in your context.
I successfully use this method in my project (macOS) to achieve OPs goal "to merge SKSpriteNode into SKTexture".
Using Xcode 13.4.1 on macOS 12.4