No, they cannot. Only words have part-of-speech assignments. An adverb is always a single word; a multiple-word phrase can therefore never be an adverb, even when that phrase is modifying a verb or other modifier.
That isn't to say that as a constituent, you can't replace the one with other; for the most part, you can. For example:
- He ran faster yesterday.
- He ran in a faster manner yesterday.
Grammatically, the two emboldened pieces perform the same role in their respective sentences. However, only the first one is an adverb. The second is a phrase. Here both are phrases:
- He graduated with high honors.
- He graduated summa cum laude.
No matter the language, neither of those phrases “is” an adverb, but they do both modify the verb.
All that said, your job is to answer the exercise given to you in whatever way they want you to, whether that makes sounds sense or not. Therefore the only way to know the right answer for your test is to ask the person giving the test what they want you to answer. What we say here won’t matter.