Yes, this appears to be a Hydrangea paniculata or panicle hydrangea. Late winter or early spring is the time to cut these shrubs all the way back to the ground. Panicle hydrangeas will produce much larger blooms if pruned hard like this each year. Many gardeners opt for smaller blooms on sturdier stems. To reduce flopping, leave a framework of old growth.
For more information you may wish to go to https://www.torontomastergardeners.ca/askagardener/hydrangea-paniculata/