Is it possible to create a new batch by combining the two small batches?

I have a problem.
I have two batches of raw materials with quantities of 5 pieces in each batch.
I need to produce 7 units of a product with a work order using 7 units of raw material.
To do this, I have to manually add one more row with raw materials to the stockentry and manually specify the batch numbers.
Is it not possible to pre-combine two batches into one, so that later you do not select them manually?

Try with entry called “Repack” in stock entry.
This entry is used for splitting the batch, however you can also move item from one batch to another with this entry.
If you have 100 units of Batch A and 100 Units of Batch B, then you can move item from Batch A to Batch B through this entry.