To specifically answer your question, yes that will work.
To more thoroughly answer your question, yes but multitasking in Android is very different than multitasking you're used to on a desktop computer.
On a Windows desktop, you can start, end, and switch between actively running programs freely. They continue running the same way wether they're in focus or in the background. In Android, as I'm sure you're probably aware, you don't have to shut down programs because the system will do it for you when it runs low on memory.
This is a very ambiguous statement and it had me confused for a long time. How dare the operating system assume that I'm done with a program just because its memory gets low! What if I lose my work because it closed a program I was still working in?
The answer is that unlike Windows, Android makes a clear distinction between a program that's doing work (like downloading a file or playing some music) and one that's simply sitting around waiting for the user to return. The commonly quoted "Android can run programs in the background" case is the one where the background program is doing work. You can listen to music from any program while doing work in another. You can download a file while reading your email. That all works as expected.
The other case, the one where programs are open but just sitting around, is a little harder to define. This is the case where a program will technically remain running until the system needs memory, then it will be closed without warning. Because of this, it is up to the individual Application developer to create the illusion of smooth multitasking.
What that means is, every time an Application loses its focus (disappears from the screen in favor of displaying another program "on top" of it), it effectively HAS to save its state out to permanent memory. If it doesn't, then it will be reset when its memory is reclaimed by the system. Since the Application has no way of knowing if it will ever regain focus before being closed, the only reasonable solution is to write out the value of every single variable in memory to the permanent storage, then reload all those variables when the application regains focus. Because of this requirement, you can almost say that Android doesn't *really* support multitasking between programs, but just creates the illusion that it is.
That conclusion in itself is a bit misleading, because Android actually CAN multitask between programs, but because it requires all good programs to assume that they're going to be closed whenever focus is lost it doesn't really make much difference. The only real advantage it gains is that if the program is NOT closed before it regains focus, then it can save a second or two by not bothering to load in the save state data from permanent storage.
If you're not doing any development on Android, most of that is probably pointless to know. The only thing you really need to know as a user is that yes Android can multitask, but you have to be careful because many poorly written programs will not be able to seamlessly multitask with others because a lot of the multitasking illusion is left in the hands of the application developers, and you may be surprised to discover that your work is gone when you return to a program that you thought you left open.