I would check this book out of the library when I was in elementary school. I would put the time period between 1990-1995. The book in question is an illustrated children’s book about a boy whose toys either come to life for real or in a dream. They are mostly toy soldiers and in the book are wonderful two page color illustrations of these scenes with the toys. I remember one scene is in a bath tub with a toy boat battle. I don’t think the book was any older than the eighties but I obviously could be mistaken.
Return of the Twelves by Pauline Clarke