Run webview app background

Is it possible to run a webview app in the background? Making a fitness app and need to eg. track users position and have a stopwatch.