Yes you can but it most likely isn't the best idea IMO. If you boil it exactly the same it should be okay.
How big of batches are you talking? If you want to make two five gallon batches and put them together I would just keep them separate. Use different yeasts or change up the hop addition times in one. That way you have two different brews you can enjoy.