Can I assign a resource to a task multiple times on the project plan?

No. However, if a resource is intermittently assigned to a task and amounts across periods are in the same planning currency, then you can create a single task assignment covering the work or task duration.

Adjust period amounts to assign zero planned quantity or cost to periods in which the resource is unused.