I'm trying to edit some fields of the selected features in ArcMap. It's possible to do this with Python (ArcPy)?
Sure, you can edit selected features using ArcPy inside ArcMap. Create a toolbox with a "Feature Layer" data type parameter. When you run the tool, select the layer from within ArcMap. The selected set of that layer will be present when the script executes.