If yes, is there any restriction of this?
Yes, one task can suspend another. https://www.freertos.org/a00130.html No restriction to speak of but do NOT use this as a method of synchronising a task with an interrupt, as noted on this page https://www.freertos.org/taskresumefromisr.html
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.