Yes it is but current NICE guidelines are to give them separately as then you can alternate every 2 hours rather than every 4. Also it avoids giving your DC more medicine than they absolutely need.
If they have a very high fever, then 2 together is the way to go to bring it down and give relief most rapidly
(my DS was in hospital last month so am very up on all the info)