It is possible to run query and the results inserted into an Apex list:
List<Opportunity> opportunities = [SELECT Opportunity.OwnerId,
Owner.Name FROM Opportunity
WHERE Opportunity.LastModifiedDate = LAST_N_DAYS:7];
Is it possible to return a Map? Where the key would be the OpportunityID and the value the Opportunity?
If not, what is the quickest way to convert to a map?