If in case you are not aware, the Do While Loop is a statement that makes sure that a code is executed. It will repeatedly execute the code until it is stopped. This is obviously something that can be used for a task that has to be done at least once. The answer to this question is no. Their functions are different.
While Loop, you need to be specific about the bool value. This is not something that you have to worry about when using the Do While Loop. Just remember that their purposes are different and you should not interchange the two to avoid confusion.