You can if you have a repeatable organization structure for both your WBS and your change process. If your WBS is intelligently organized to cover your program rather than one project, it becomes a tree you can cut branches or modules off of to assemble a plan much more efficiently. Saving Changes...
If it is truly a project, then it is supposed to be unique. So while an algorithm might give you a starting point or guide the WBS process, the wisdom of a group of SMEs will still be a better approach to ensuring nothing was missed.
It has to do with the nature of the project, its complexity and etc. however, you may be able to generate a list of activities or tasks for a specific type of projects. This can be used as an initial draft though. But as Kiron mentioned, the uniqueness of the project requires you to go beyond those algorithms. Saving Changes...